The Donut Chart Type
In SciChart v4.2 and above, the Donut Chart type is represented by the ScIChartDonutSurface class.
Examples for the Donut Chart can be found in the SciChart WPF Examples Suite which can be downloaded from the SciChart Website or our SciChart.WPF.Examples Github Repository.
Create a Donut Chart
The Donut Chart and Pie Chart share the same base class, so the following properties are shared with the Pie Chart.
- ChartTitle
- BrushesCollection
- ItemTemplate
- LegendItemTemplate
- SegmentTooltipTemplate
- ItemSource
- AllowMultiSelect
- ShowTooltip
- ShowLegend
- LegendListStyle
- InfoLinesStyle
- InsideLabelTemplate
- OutsideLabelTemplate
You can create a donut chart, apply legends, tooltips and template labels by following the steps in the documentation page The Pie Chart Type. Just substitute a SciChartDonutSurface as the top level class.